package ProtectThread;

public class ProtectThread1 implements Runnable {

    @Override
    public void run() {
        while (true) {
            try {
                Thread.sleep(1000);
                System.out.println(Thread.currentThread().getName() + "--->>正在运行");
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }
    }
}
